package io.dshubs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.dshubs.entity.SysUserArchiveCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: yu
 * @Date: 2021/08/18/11:45
 */
@Mapper
public interface SysUserArchiveCategoryMapper extends BaseMapper<SysUserArchiveCategory> {

    /**
     * 根据租户id删除
     *
     * @param userId 用户id
     */
    void deleteByUserId(@Param("userId") Long userId);
}
